package com.ruoyi.consumer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 c_carousel
 * 
 * @author ruoyi
 * @date 2023-10-23
 */
public class CCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图id编号 */
    private Integer carouselId;

    /** 名称，保留字段 */
    @Excel(name = "名称，保留字段")
    private String carouselName;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String carouselUrl;

    /** 状态，0：正常，1：禁用 */
    @Excel(name = "状态，0：正常，1：禁用")
    private Integer status;

    public void setCarouselId(Integer carouselId) 
    {
        this.carouselId = carouselId;
    }

    public Integer getCarouselId() 
    {
        return carouselId;
    }
    public void setCarouselName(String carouselName) 
    {
        this.carouselName = carouselName;
    }

    public String getCarouselName() 
    {
        return carouselName;
    }
    public void setCarouselUrl(String carouselUrl) 
    {
        this.carouselUrl = carouselUrl;
    }

    public String getCarouselUrl() 
    {
        return carouselUrl;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carouselId", getCarouselId())
            .append("carouselName", getCarouselName())
            .append("carouselUrl", getCarouselUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
